<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:sec="http://www.springframework.org/security/tags"
	xmlns:p="http://primefaces.org/ui">

	<form class="form-horizontal" action="/juice/j_spring_security_check"
		method='POST'>
		<div id="loginBox" class="modal hide fade" tabindex="-1" role="dialog"
			aria-labelledby="myModalLabel" aria-hidden="true">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-hidden="true">×</button>
				<h3 id="myModalLabel">Connexion</h3>
			</div>
			<div class="modal-body">
				<div class="control-group">
					<label class="control-label" for="j_username">Identifiant</label>
					<div class="controls">
						<input type="text" id="j_username" name="j_username"
							placeholder="Identifiant" />
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="j_password">Mot de passe</label>
					<div class="controls">
						<input type="password" id="j_password" name="j_password"
							placeholder="Mot de passe" />
					</div>
				</div>

			</div>
			<div class="modal-footer">
				<button type="submit" class="btn btn-primary">Connexion</button>
				<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
			</div>
		</div>
	</form>
</ui:composition>
